<?php

namespace INT\AdminBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * EtudiantPresence
 *
 * @ORM\Table()
 * @ORM\Entity
 */
class EtudiantPresence {
    
    /**
     * @ORM\ManyToOne(targetEntity="INT\UserBundle\Entity\User", inversedBy="etudiantpresence")
     */
    private $etudiant;   
    
    /**
     * @ORM\ManyToOne(targetEntity="INT\UserBundle\Entity\User", inversedBy="etudiantpresence")
     */
    private $seances;
    
    

    /**
     * @var integer
     *
     * @ORM\Column(name="id", type="integer")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    private $id;

    /**
     * @var string
     *
     * @ORM\Column(name="etat", type="string", length=255)
     */
    private $etat;

    /**
     * Get id
     *
     * @return integer 
     */
    public function getId() {
        return $this->id;
    }

    /**
     * Set etat
     *
     * @param string $etat
     * @return EtudiantPresence
     */
    public function setEtat($etat) {
        $this->etat = $etat;

        return $this;
    }

    /**
     * Get etat
     *
     * @return string 
     */
    public function getEtat() {
        return $this->etat;
    }


    /**
     * Set etudiant
     *
     * @param \INT\UserBundle\Entity\User $etudiant
     * @return EtudiantPresence
     */
    public function setEtudiant(\INT\UserBundle\Entity\User $etudiant = null)
    {
        $this->etudiant = $etudiant;
    
        return $this;
    }

    /**
     * Get etudiant
     *
     * @return \INT\UserBundle\Entity\User 
     */
    public function getEtudiant()
    {
        return $this->etudiant;
    }

    /**
     * Set seances
     *
     * @param \INT\UserBundle\Entity\User $seances
     * @return EtudiantPresence
     */
    public function setSeances(\INT\UserBundle\Entity\User $seances = null)
    {
        $this->seances = $seances;
    
        return $this;
    }

    /**
     * Get seances
     *
     * @return \INT\UserBundle\Entity\User 
     */
    public function getSeances()
    {
        return $this->seances;
    }
}